package com.mioto.ld.module.alert.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author mioto-qinxj
 * @date 2024/5/21
 * @desc 告警配置列表显示对象
 */
@Getter
@Setter
public class AlertConfigPagerVO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "告警名称")
    private String name;

    @ApiModelProperty(value = "启用状态 0-禁用 1-启用")
    private Integer status;

    @ApiModelProperty(value = "告警级别")
    private String alertLevel;

    @ApiModelProperty(value = "产品")
    private String productName;

    @ApiModelProperty(value = "设备序列号")
    private String sn;

    @ApiModelProperty(value = "所属客户")
    private String organizationName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建日期")
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    private String createUserName;
}
